package com.kgc.warehouse.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kgc.warehouse.system.common.ResponseResult;
import com.kgc.warehouse.system.dto.RolePageDto;
import com.kgc.warehouse.system.entity.Role;

/**
* @author main
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2023-02-03 20:07:42
*/
public interface RoleService extends IService<Role> {

    ResponseResult selectPage(RolePageDto rolePageDto);

    ResponseResult add(Role role);

    ResponseResult deleteById(String ids);

    ResponseResult updateRole(Role role);

    ResponseResult selectPermissionByRoleId(Integer id);
}
